package com.wanxi;

public class Coder {
    private String name;
    private int id;
    private int salary;


    public void work() {
        Util.print("工号为{1}基本工资为{2}的程序员正在努力的写着代码......", id, salary);

    }

    public Coder() {
    }

    public Coder(int id, int salary) {

        this.id = id;
        this.salary = salary;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getSalary() {
        return salary;
    }

    public void setSalary(int salary) {
        this.salary = salary;
    }
}
